{% extends "base.html" %}
<!-- Replace the TITLE of template base.html -->
{% block title %}JltxSeo's Blog{% endblock %}

{% block stylesheets %}
    {{ super() }}
    <script src='https://www.google.com/recaptcha/api.js'></script>
{% endblock stylesheets %}

{% block body %}
    <!-- Set the form -->
    <form method="POST" action="{{ url_for('base_blueprint.register') }}">
        {{ form.hidden_tag() }}
        <div class="form-group">
            {{ form.username.label }}
            {{ form.username(class_="form-control") }}
        </div>

        <div class="form-group">
            {{ form.password.label }}
            {{ form.password(class_='form-control') }}
        </div>
        <div class="form-group">
            {{ form.comfirm.label }}
            {{ form.comfirm(class_='form-control') }}
        </div>
        <input class="btn btn-primary" type="submit" value="注册">
        <div class="g-recaptcha" data-sitekey="6LdjJmAUAAAAABnsaP3ieK1Q51EC1ytXMU5Oa95k"></div>
    </form>

{% endblock body %}
